home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / zc.xml < prev    next >
Text File  |  2002-09-27  |  1KB  |  48 lines

  1. <search function="zc">
  2.   <name>Zip Code Info</name>
  3.   <description>Search for information on a particular zcf
  4.   <div class="helpboxDescLabels">Examples:</div> 
  5.   <table class="helpboxDescTable">
  6.     <tr>
  7.       <td>zc 74133 or zc Glen Ellyn</td>
  8.   </tr>
  9.   </table>
  10.   </description>
  11.   <link>http://www.zipinfo.com/</link>
  12.   <category>People and Places</category>
  13.   <contributor>Stephen Montgomery</contributor>
  14.   <email>stephenmontgomery_at_ameritech_dot_net</email>
  15.   <form name="zcf"
  16.         action="http://www.zipinfo.com/cgi-local/zipsrch.exe" 
  17.         method="get">
  18.     <input type="hidden" name="zip"/>
  19.     <input type="hidden" name="cnty" value="cnty"/>
  20.     <input type="hidden" name="ac" value="ac"/>
  21.     <input type="hidden" name="tz" value="tz"/>
  22.     <input type="hidden" name="ll" value="ll"/>
  23.     <input type="hidden" name="msa" value="msa"/>
  24.   </form>
  25.   <script><![CDATA[
  26.     function zc(q)
  27.     {
  28.       if (q == "")
  29.         window.open("http://www.zipinfo.com");
  30.       else
  31.       {
  32.         if (result = q.match(/^(\d{5})\s*(.*)/))
  33.           document.zcf.zip.value = result[1];
  34.         else if (result = q.match(/^(.*)/))
  35.           document.zcf.zip.value = result[1];
  36.         
  37.         submitForm(zcf);
  38.       }
  39.     }
  40.   ]]></script>
  41.  
  42.   <copyright>
  43.     Copyright (c) 2002 David Bau
  44.     Distributed under the terms of the
  45.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  46.   </copyright>
  47. </search>
  48.